import { PORT1 } from "@/api/config/servicePort";
import Http from "@/api/index";

const baseUrl = PORT1 + "/system/loupan/room_swiper";

export const createSwiper = (params: any) => {
  return Http.post(baseUrl + "/add", params);
};

export const editSwiper = (params: any) => {
  return Http.put(baseUrl + "/edit", params);
};

export const getSwiper = (params: any) => {
  return Http.get(baseUrl + "/list", params);
};

export const deleteSwiper = (params: any) => {
  return Http.post(baseUrl + "/delete", params);
};
